/************************************
line

Draws a line from x1,y1 to x2,y2
************************************/

#ifndef LINE_H
#define LINE_H

#include <scene/SceneNode.h>
#include <base/d3d.h>

class Line : public SceneNode {
public:
  Line();
  Line(float x1, float y1, float x2, float y2): x1(x1),y1(y1),x2(x2),y2(y2){};
  Line(const Line * rhs);

  long preDraw(Device * device);
  SceneNode * copy() const;

  float x1;
  float y1;
  float x2;
  float y2;
};

#endif
